package com.kaibes.module.permission.pojo;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

import com.kaibes.core.base.annotation.Description;

import lombok.Data;

@Data
@Description("角色信息")
public class RolePost {

    @Description("角色名称")
    @NotBlank(message = "角色名称不能为空")
    private String name;
    @Min(value = 0, message = "排序必须不小于0")
    @Description("角色排序")
    private Integer sort;
    @Description("角色备注")
    private String remark;
    
}
